% function: main.m
clc;clear;clearvars;
X = [0.1;0.7;0.5;0.1];
Y = [2;32;6666;5];
% 划分的区间数
wind_size = size(X,1);
mi = calmi(X, Y, wind_size);
disp(mi);
